projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3fbf29
)
GtkPlacesSidebar: Don't return FALSE as a pointer
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 8 Dec 2014 14:15:07 +0000
(09:15 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 8 Dec 2014 14:15:07 +0000
(09:15 -0500)
Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741250
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index 48364d8a9f93cd8f3016cee31c0c124215e759ed..23903a9ff3641d883f78eab0a09b28ed4256aeaf 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-5129,7
+5129,7
@@
gtk_places_sidebar_remove_shortcut (GtkPlacesSidebar *sidebar,
GSList *
gtk_places_sidebar_list_shortcuts (GtkPlacesSidebar *sidebar)
{
- g_return_val_if_fail (GTK_IS_PLACES_SIDEBAR (sidebar),
FALSE
);
+ g_return_val_if_fail (GTK_IS_PLACES_SIDEBAR (sidebar),
NULL
);
return g_slist_copy_deep (sidebar->shortcuts, (GCopyFunc) g_object_ref, NULL);
}